package com.system.appointment.feign;

import com.system.appointment.bean.Queue;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "queue-service", path = "/queue")
public interface QueueServiceFeign {
    @PostMapping("/save")
    boolean saveHandle(@RequestBody Queue queue);
}
